home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0316 / scalc.jar / text / scalc / guide / formulas.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  6.1 KB  |  79 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Calculating With Formulas</title><meta name="filename" content="text/scalc/guide/formulas"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle11{
  11.                 }
  12.         td.Tabelle1A1{
  13.                 }
  14.         table.Tabelle2{
  15.                 }
  16.         span.Tabelle2A{
  17.                 width:7.495cm;}
  18.         span.Tabelle2B{
  19.                 width:10.502cm;}
  20.         td.Tabelle2A1{
  21.                 }
  22.         td.Tabelle2B1{
  23.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  24.         td.Tabelle2A2{
  25.                 }
  26.         td.Tabelle2B2{
  27.                 }
  28.         p.P1{
  29.                 }
  30.         span.fr1{
  31.                 }
  32.         </style></head><body>
  33.    
  34.    
  35.    <p class="P1"/>
  36.    <p class="Head1"><help:key-word value="formulas; in table cells" tag="kw68081_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="calculating; with formulas" tag="kw68081_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="references; in table formulas" tag="kw68081_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="formulas" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68081">Calculating With Formulas</help:link></help:to-be-embedded></p>
  37.    <p class="Paragraph">All formulas begin with an equals sign. The formulas may contain numbers or text, and other data is also possible such as format details, that specify how the numbers are to be formatted. Naturally the formulas will also contain arithmetic operators, logic operators or function starts.</p>
  38.    <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  39.        <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="66732" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  40.       </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  41.        <p class="Paragraph">Remember that the basic arithmetic signs (+, -, *, /) can be used in formulas using the "Multiplication and Division before Addition and Subtraction" rule. Instead of writing =SUM(A1:B1) it's better to write =A1+B1.</p>
  42.        <p class="Paragraph">Parentheses are also possible. The result of the formula =1+2*3 means something different than =(1+2)*3.</p>
  43.       </span></th></tr></table>
  44.    <p class="Paragraph">Here are a few examples of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc formulas:</p>
  45.    <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><td class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  46.       <p class="Paragraph">=A1+10</p>
  47.      </span></td><td class="Tabelle2B1" style="text-align:left;"><span class="Tabelle2B">
  48.       <p class="Paragraph">Displays the contents of cell A1 plus 10.</p>
  49.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  50.       <p class="Paragraph">=A1*16%</p>
  51.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  52.       <p class="Paragraph">Displays 16% of the contents of A1.</p>
  53.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  54.       <p class="Paragraph">=A1 * A2</p>
  55.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  56.       <p class="Paragraph">Displays the result of the multiplication of A1 and A2.</p>
  57.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  58.       <p class="Paragraph">=ROUND(A1;1)</p>
  59.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  60.       <p class="Paragraph">Rounds the contents in cell A1 to one decimal place.</p>
  61.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  62.       <p class="Paragraph">=EFFECTIVE(5%;12)</p>
  63.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  64.       <p class="Paragraph">Calculates the effective interest at 5% annually with 12 payments.</p>
  65.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  66.       <p class="Paragraph">=B8-SUM(B10:B14)</p>
  67.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  68.       <p class="Paragraph">Calculates the sum of the cells B10 to B14 minus the value of B8.</p>
  69.      </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  70.       <p class="Paragraph">=SUM(B8;SUM(B10:B14))</p>
  71.      </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  72.       <p class="Paragraph">Calculates the sum of cells B10 to B14 and adds the value to B8.</p>
  73.      </span></td></tr></table>
  74.    <p class="Paragraph">It is also possible to nest functions in formulas, as shown in the example. You can also nest functions within functions. For example, instead of =ROUND(A1;1), you could also calculate the sine function with =ROUND(SIN(A1);2). The Function AutoPilot assists you with nested functions.</p>
  75.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  76.    <p class="ParaList"><help:embedded Id="68298" Eid="formula_enter" xmlns:help="http://openoffice.org/2000/help"/></p>
  77.    <p class="ParaList"><help:link Id="66815" xmlns:help="http://openoffice.org/2000/help">Functions list</help:link></p>
  78.    <p class="ParaList"><help:link Id="66841" xmlns:help="http://openoffice.org/2000/help">AutoPilot: Functions</help:link></p>
  79.   </body></html>